←Select platform

Update<T>(string,T,string) Method

Summary

Update an existing item in the cache.

Syntax
C#
C++/CLI
Python
public virtual bool Update<T>( 
   string key, 
   T value, 
   string regionName 
) 
public:  
   generic<typename T> 
   virtual bool Update( 
      String^ key, 
      T value, 
      String^ regionName 
   ) 
def Update(self,key,value,regionName): 

Parameters

key

Cache item key to delete.

value

Data for the cache item.

regionName

Optional region name.

Return Value

true if the item was updated; otherwise, false (if the item does not exist in the cache).

Requirements

Target Platforms

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Caching Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.